package cn.group.hotel2.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 添加回复的DTO类
 *
 * @author wcl
 * @version 0.0.1
 * @date 2022/12/1
 */
@Data
public class ReplyAddNewDTO implements Serializable {

    /**
     * 留言id
     */
    @ApiModelProperty(value = "留言id", name = "messageId", required = true)
    @NotNull(message = "添加回复失败,必须添加留言id")
    private Long messageId;

    /**
     * 回复人姓名
     */
    @ApiModelProperty(value = "回复人姓名", name = "replyName", required = true)
    @NotNull(message = "添加回复失败,必须添加回复人姓名")
    private String replyName;

    /**
     * 回复内容
     */
    @ApiModelProperty(value = "回复内容", name = "replyContent", required = true)
    @NotNull(message = "添加回复失败,必须添加回复内容")
    private String replyContent;
}
